#ifndef ERRORLIST_H
#define ERRORLIST_H

#include <QScrollArea>
class QVBoxLayout;

class ErrorList : public QScrollArea
{
  Q_OBJECT
public:
  explicit ErrorList(QWidget *parent = 0);
  void clean();

signals:
  void error_clicked(QString, int);
  
public slots:
  void AddError(const QString& file, const QString& mess, int line);

private:
  QVBoxLayout* layout;
};
#endif // ERRORLIST_H
